package com.yeyaomai.dksns.flowis.domain.flowisdetail;

import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.mapping.Document;

import com.yeyaomai.dksns.flowis.domain.Entity;

/**
 * 端口在线用户类
 * 
 * @author xiaqin
 * 
 */
@Document(collection = "login_session")
public class LoginSession extends Entity {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	/**
	 * 用户一次访问的标识
	 */
	@Id
	private String id;

	private Integer start_time;

	private String user_id;

	private String user_dkcode;

	private String username;

	private String login_ip;

	private Integer distance;

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public Integer getStart_time() {
		return start_time;
	}

	public void setStart_time(Integer start_time) {
		this.start_time = start_time;
	}

	public String getUser_id() {
		return user_id;
	}

	public void setUser_id(String user_id) {
		this.user_id = user_id;
	}

	public String getUser_dkcode() {
		return user_dkcode;
	}

	public void setUser_dkcode(String user_dkcode) {
		this.user_dkcode = user_dkcode;
	}

	public String getUsername() {
		return username;
	}

	public void setUsername(String username) {
		this.username = username;
	}

	public String getLogin_ip() {
		return login_ip;
	}

	public void setLogin_ip(String login_ip) {
		this.login_ip = login_ip;
	}

	public Integer getDistance() {
		return distance;
	}

	public void setDistance(Integer distance) {
		this.distance = distance;
	}

}
